package pikes.html.xhtml.list;

import pikes.html.xhtml.Flow;

/**
 * <code>&lt;ul/&gt;</code> tag, see <a href="http://www.w3.org/TR/html401/struct/lists.html#h-10.2">unordered list
 * element</a> in HTML specification.
 * @author Peter Bona
 * @see <a href="http://www.w3.org/TR/html401/struct/lists.html#h-10.2">The ul element in HTML specification</a>
 */
public class UnorderedList extends List {

	/**
	 * Creates an unordered list element with the given list item which will be the first in the content list
	 * @param item list item which will be first in the content list
	 */
	public UnorderedList(ListItem item) {
		super(item);
	}

	public UnorderedList(Flow flow) {
		super(flow);
	}

	/**
	 * Creates an unordered list element with the given string which will be the first in the content list
	 * @param text string which will be first in the content list
	 */
	public UnorderedList(CharSequence text) {
		super(text);
	}

	/**
	 * @return "ul"
	 */
	final protected CharSequence getTagName() {
		return "ul";
	}

}
